﻿using System;

namespace EventStock
{
    public class MessageEventArgs : EventArgs//事件参数类
    {
        public MessageEventArgs(string consumer, int amount)
        {
            Consumer = consumer;
            Amount = amount;
        }
        public int Amount { get; }      //事件参数
        public String Consumer { get; }//事件参数

    }
}